from sqlalchemy import Column, ForeignKey, INTEGER
from utils.db import Base


class Region(Base):
    __tablename__ = "region"

    id = Column(INTEGER, primary_key=True, autoincrement=False)
    state_id = Column(INTEGER, ForeignKey("state.id"))
    gold = Column(INTEGER, default=0, nullable=False)
    max_gold = Column(INTEGER, nullable=False)
